﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domian.Common
{
    /// <summary>
    /// 分页返回结果
    /// </summary>
    /// <typeparam name="T">数据实体</typeparam>
    public class PageResult<T>
    {
        /// <summary>
        /// 数据列表
        /// </summary>
        public List<T> Datas { get; set; }
        /// <summary>
        /// 总页码
        /// </summary>
        public int PageCount { get; set; }
        /// <summary>
        /// 总记录数
        /// </summary>
        public int TotalCount { get; set; }
    }
}
